package com.xd.core.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xd.core.business.entity.Surrenderinfo;
import com.xd.core.business.vo.SurrenderDetailVo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ZX
 * @since 2025-08-26
 */
public interface SurrenderinfoMapper extends BaseMapper<Surrenderinfo> {

    void setRefundVoucherAndStatus(Integer surrenderId);

    String getPolicyNo(Integer surrenderId);

    SurrenderDetailVo getSurrenderDetail(@Param("id") Integer id);
}
